<?php
namespace app\index\controller;

use \think\facade\View;

class user{
    public function auth()
    {
        return View::fetch('user/auth');
    }

    public function authAdd()
    {
        return View::fetch('user/auth_add');
    }

    public function user()
    {
        $user=\app\index\model\admin::admin();
        View::assign('user',$user);
        return View::fetch('user/user');
    }

    public function userAdd()
    {
        return View::fetch('user/user_add');
    }
    public function userEdit()
    {
        return View::fetch('user/user_edit');
    }
}